import base from './base'
/**
 * 我的学伴页面
 */

export default class partner extends base {
    // 判断用户是否进行过测评
  static userIsEvaluation(openId) {
    let url = `${this.urlMap.zhangyong}/v2/evaluationQuestion/userIsEvaluation/${openId}`
    return this.get(url)
  }
  // 获取伙伴列表
  static getstuPartner(currentPage, pageSize, openId) {
    let url = `${this.urlMap.haijian}/stuPartner/list?pageNum=${currentPage}&pageSize=${pageSize}&openId=${openId}`
    return this.get(url)
  }
  // 分享记录
  static shareRecord(data) {
    let url = `${this.urlMap.caoxin}/stuStudyDataShare.post`
    return this.post(url, data)
  }
}
